package com.ukao.steward.bean;

import android.os.Parcel;
import android.os.Parcelable;
import com.ukao.steward.util.CheckUtils;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by ukaodev on 2017/10/25.
 */

public class OrderDetailBean  extends  BaseBean<OrderDetailBean> implements Parcelable {
        /**
         * mercId : 1
         * userInfo : {"mercId":1,"cardRelId":17,"cardName":"红钻会员卡","subscribe":0,"isBinding":0,"cardLevel":6,"sex":0,"wxNickname":null,"origin":1,"cardRights":"0000","wxId":null,"headimgPath":null,"cardNo":"594832573","point":1000,"verifyAndriod":0,"verifyPhone":0,"balance":984000,"phone":"15581652584","cardId":2,"name":null,"id":57,"cardDiscount":20,"verifyIos":0,"status":1}
         * payLockTime : null
         * couponAmt : null
         * actualSendTime : null
         * isCanceled : false
         * sendDate : 2017-09-21
         * takeTimeEnd : 24:00
         * cityId : 1
         * isEnablePay : false
         * modifyPrice : 1000
         * mode : 1
         * isEnableCancel : true
         * isEnablePrint : false
         * id : 231
         * sendMode : 2
         * refundPrice : 0
         * takeWorkId : null
         * takeWorkName : null
         * isEnableDestroy : true
         * orderNo : 2017091893088753
         * sendModeText : 上门送件
         * isEnableRefund : false
         * takePhone : 15555555555
         * payablePrice : null
         * priority : 0
         * paidPrice : 0
         * sendAddress : 台湾台北市台北市 一二三等
         * sendTimeStart : null
         * isModifyPrice : 0
         * sendWorkPhone : null
         * takeName : 测试下单1号
         * takeCarriage : null
         * sendCarriage : null
         * sendWorkId : null
         * originText : 微信
         * takeMode : 2
         * remark : null
         * takeWorkPhone : null
         * payStatusText : 未支付
         * proPriceDesc : [{"id": 29, "cnt": 3, "name": "嘻哈2", "path": "", "price": 100}]
         * statusVal : 5
         * takeModeText : 上门取件
         * isEnableComplete : false
         * sendWorkName : null
         * storeName : null
         * orderPrice : 0
         * takeAddress : 台湾台北市台北市 一二三等
         * sendTimeEnd : null
         * takeDate : 2017-09-18
         * business : [{"id": 1, "name": "ÃÂÃÂ¦ÃÂÃÂ´ÃÂÃÂÃÂÃÂ¨ÃÂÃÂ¡ÃÂÃÂ£"}, {"id": 2, "name": "ÃÂÃÂ¦ÃÂÃÂ´ÃÂÃÂÃÂÃÂ©ÃÂÃÂÃÂÃÂ"}, {"id": 3, "name": "ÃÂÃÂ¦ÃÂÃÂ´ÃÂÃÂÃÂÃÂ¥ÃÂÃÂ®ÃÂÃÂ¶ÃÂÃÂ§ÃÂÃÂºÃÂÃÂº"}]
         * sendName : 测试下单1号
         * expTime : null
         * isEnableSign : false
         * storeId : null
         * transNo : 123456
         * userId : 57
         * takeWorkImg : null
         * paymentPrice : null
         * userRemark :
         * statusList : [{"createBy":32,"statusDesc":"已收件","statusVal":5,"orderId":231,"createTime":1505873575000,"statusText":"已收件","id":514,"workName":"小马子"},{"createBy":32,"statusDesc":"已收件","statusVal":5,"orderId":231,"createTime":1505873446000,"statusText":"已收件","id":513,"workName":"小马子"},{"createBy":32,"statusDesc":"已收件","statusVal":5,"orderId":231,"createTime":1505873396000,"statusText":"已收件","id":512,"workName":"小马子"},{"createBy":32,"statusDesc":"已收件","statusVal":5,"orderId":231,"createTime":1505805216000,"statusText":"已收件","id":503,"workName":"小马子"},{"createBy":32,"statusDesc":"已接单","statusVal":3,"orderId":231,"createTime":1505737012000,"statusText":"已接单","id":492,"workName":"小马子"},{"createBy":0,"statusDesc":"创建订单","statusVal":1,"orderId":231,"createTime":1505728871000,"statusText":"已下单，待接单","id":486,"workName":null}]
         * createTime : 1505728871000
         * statusText : 已收件
         * sendPhone : 15555555555
         * takeTimeStart : 22:00
         * sendWorkImg : null
         * takeWorkCode : null
         * actualTakeTime : 1505805216000
         * payStatus : 0
         * sendWorkCode : null
         * modeText : 预约模式
         */
        private  boolean  isEnableBindCode;
        private  boolean   isEnableStockIn;
        private   Integer  discount;
        private int mercId;
        private UserInfoBean userInfo;
        private String payLockTime;
        private int couponAmt;
        private String actualSendTime;
        private boolean isCanceled;
        private String sendDate;
        private String takeTimeEnd;
        private int cityId;
        private boolean isEnablePay;
        private Integer modifyPrice;
        private int mode;
        private boolean isEnableCancel;
        private boolean isEnablePrint;
        private boolean  isEnableUpdateTransNo;
        private int id;
        private int sendMode;
        private int refundPrice;
        private String takeWorkId;
        private String takeWorkName;
        private boolean isEnableDestroy;
        private String orderNo;

        private  ArrayList<StringBean>  mClothlist;
        private String sendModeText;
        private boolean isEnableRefund;
        private String takePhone;
        private String payablePrice;
        private int priority;
        private int paidPrice;
        private String sendAddress;
        private String sendTimeStart;
        private int isModifyPrice;
        private String sendWorkPhone;
        private String takeName;
        private int takeCarriage;
        private int sendCarriage;
        private String sendWorkId;
        private String originText;
        private int takeMode;
        private String remark;
        private String takeWorkPhone;
        private String payStatusText;
        private String proPriceDesc;
        private int statusVal;
        private String takeModeText;
        private boolean isEnableComplete;
        private String sendWorkName;
        private String storeName;
        private Integer orderPrice;
        private String takeAddress;
        private String sendTimeEnd;
        private String takeDate;
        private String business;
        private String sendName;
        private String expTime;
        private boolean isEnableSign;
        private String storeId;
        private String transNo;
        private String userId;
        private String takeWorkImg;
        private Integer paymentPrice;
        private String userRemark;
        private long createTime;
        private String statusText;
        private String sendPhone;
        private String takeTimeStart;
        private String sendWorkImg;
    private  int    createCnt;
        private String takeWorkCode;
        private long actualTakeTime;
        private int payStatus;
        private String sendWorkCode;
        private String modeText;
        private List<StatusListBean> statusList;
        private  int  valuationType;
        private  int  isFeeCarriage;
        private   Integer valuationPrice;

    public boolean isEnableBindCode() {
        return isEnableBindCode;
    }

    public boolean isEnableStockIn() {
        return isEnableStockIn;
    }

    public boolean isEnableUpdateTransNo() {
        return isEnableUpdateTransNo;
    }

    public Integer getValuationPrice() {
        return valuationPrice;
    }



    public int   getValuationType() {
        //计价方式（1快速计价，2精准计价）

        return valuationType;
    }

    public void setValuationType(int valuationType) {
        this.valuationType = valuationType;
    }

    public boolean  getIsFeeCarriage() {
       boolean  isOpenCarriage=false;
        if (isFeeCarriage==0){
            isOpenCarriage=true;
        }
        return isOpenCarriage;
    }

    public void setIsFeeCarriage(int isFeeCarriage) {
        this.isFeeCarriage = isFeeCarriage;
    }

    public ArrayList<StringBean> getmClothlist() {
        return mClothlist;
    }

    public void setmClothlist(ArrayList<StringBean> mClothlist) {
        this.mClothlist = mClothlist;
    }

    public int getCreateCnt() {
        return createCnt;
    }

    public Integer getDiscount() {
        return discount;
    }

    public int getMercId() {
            return mercId;
        }

        public void setMercId(int mercId) {
            this.mercId = mercId;
        }

        public UserInfoBean getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserInfoBean userInfo) {
            this.userInfo = userInfo;
        }

        public String getPayLockTime() {
            return payLockTime;
        }

        public void setPayLockTime(String payLockTime) {
            this.payLockTime = payLockTime;
        }

        public int getCouponAmt() {
            return couponAmt;
        }

        public void setCouponAmt(int couponAmt) {
            this.couponAmt = couponAmt;
        }

        public String getActualSendTime() {
            return actualSendTime;
        }

        public void setActualSendTime(String actualSendTime) {
            this.actualSendTime = actualSendTime;
        }

        public boolean isIsCanceled() {
            return isCanceled;
        }

        public void setIsCanceled(boolean isCanceled) {
            this.isCanceled = isCanceled;
        }

        public String getSendDate() {
            return sendDate;
        }

        public void setSendDate(String sendDate) {
            this.sendDate = sendDate;
        }

        public String getTakeTimeEnd() {
            return takeTimeEnd;
        }

        public void setTakeTimeEnd(String takeTimeEnd) {
            this.takeTimeEnd = takeTimeEnd;
        }

        public int getCityId() {
            return cityId;
        }

        public void setCityId(int cityId) {
            this.cityId = cityId;
        }

        public boolean isIsEnablePay() {
            return isEnablePay;
        }

        public void setIsEnablePay(boolean isEnablePay) {
            this.isEnablePay = isEnablePay;
        }

        public Integer getModifyPrice() {
            return modifyPrice;
        }

        public void setModifyPrice(int modifyPrice) {
            this.modifyPrice = modifyPrice;
        }

        public int  getMode() {


            return mode;
        }

        public void setMode(int mode) {
            this.mode = mode;
        }

        public boolean isIsEnableCancel() {
            return isEnableCancel;
        }

        public void setIsEnableCancel(boolean isEnableCancel) {
            this.isEnableCancel = isEnableCancel;
        }

        public boolean isIsEnablePrint() {
            return isEnablePrint;
        }

        public void setIsEnablePrint(boolean isEnablePrint) {
            this.isEnablePrint = isEnablePrint;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSendMode() {
            return sendMode;
        }

        public void setSendMode(int sendMode) {
            this.sendMode = sendMode;
        }

        public int getRefundPrice() {
            return refundPrice;
        }

        public void setRefundPrice(int refundPrice) {
            this.refundPrice = refundPrice;
        }

        public String getTakeWorkId() {
            return takeWorkId;
        }

        public void setTakeWorkId(String takeWorkId) {
            this.takeWorkId = takeWorkId;
        }

        public String getTakeWorkName() {
            return takeWorkName;
        }

        public void setTakeWorkName(String takeWorkName) {
            this.takeWorkName = takeWorkName;
        }

        public boolean isIsEnableDestroy() {
            return isEnableDestroy;
        }

        public void setIsEnableDestroy(boolean isEnableDestroy) {
            this.isEnableDestroy = isEnableDestroy;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getSendModeText() {
            return sendModeText;
        }

        public void setSendModeText(String sendModeText) {
            this.sendModeText = sendModeText;
        }

        public boolean isIsEnableRefund() {
            return isEnableRefund;
        }

        public void setIsEnableRefund(boolean isEnableRefund) {
            this.isEnableRefund = isEnableRefund;
        }

        public String getTakePhone() {
            return CheckUtils.isEmptyString(takePhone);
        }

        public void setTakePhone(String takePhone) {
            this.takePhone = takePhone;
        }

        public String getPayablePrice() {
            return payablePrice;
        }

        public void setPayablePrice(String payablePrice) {
            this.payablePrice = payablePrice;
        }

        public int getPriority() {
            return priority;
        }

        public void setPriority(int priority) {
            this.priority = priority;
        }

        public int getPaidPrice() {
            return paidPrice;
        }

        public void setPaidPrice(int paidPrice) {
            this.paidPrice = paidPrice;
        }

        public String getSendAddress() {
            return sendAddress;
        }

        public void setSendAddress(String sendAddress) {
            this.sendAddress = sendAddress;
        }

        public String getSendTimeStart() {
            return sendTimeStart;
        }

        public void setSendTimeStart(String sendTimeStart) {
            this.sendTimeStart = sendTimeStart;
        }

        public int getIsModifyPrice() {
            return isModifyPrice;
        }

        public void setIsModifyPrice(int isModifyPrice) {
            this.isModifyPrice = isModifyPrice;
        }

        public String getSendWorkPhone() {
            return sendWorkPhone;
        }

        public void setSendWorkPhone(String sendWorkPhone) {
            this.sendWorkPhone = sendWorkPhone;
        }

        public String getTakeName() {
            return CheckUtils.isEmptyString(takeName);
        }

        public void setTakeName(String takeName) {
            this.takeName = takeName;
        }

        public int getTakeCarriage() {
            return takeCarriage;
        }

        public void setTakeCarriage(Integer takeCarriage) {
            this.takeCarriage = takeCarriage;
        }

        public int getSendCarriage() {
            return sendCarriage;
        }

        public void setSendCarriage(Integer sendCarriage) {
            this.sendCarriage = sendCarriage;
        }

        public String getSendWorkId() {
            return sendWorkId;
        }

        public void setSendWorkId(String sendWorkId) {
            this.sendWorkId = sendWorkId;
        }

        public String getOriginText() {
            return originText;
        }

        public void setOriginText(String originText) {
            this.originText = originText;
        }

        public int getTakeMode() {
            return takeMode;
        }

        public void setTakeMode(int takeMode) {
            this.takeMode = takeMode;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getTakeWorkPhone() {
            return takeWorkPhone;
        }

        public void setTakeWorkPhone(String takeWorkPhone) {
            this.takeWorkPhone = takeWorkPhone;
        }

        public String getPayStatusText() {
            return payStatusText;
        }

        public void setPayStatusText(String payStatusText) {
            this.payStatusText = payStatusText;
        }

        public String getProPriceDesc() {
            return proPriceDesc;
        }

        public void setProPriceDesc(String proPriceDesc) {
            this.proPriceDesc = proPriceDesc;
        }

        public int getStatusVal() {
            return statusVal;
        }

        public void setStatusVal(int statusVal) {
            this.statusVal = statusVal;
        }

        public String getTakeModeText() {
            return takeModeText;
        }

        public void setTakeModeText(String takeModeText) {
            this.takeModeText = takeModeText;
        }

        public boolean isIsEnableComplete() {
            return isEnableComplete;
        }

        public void setIsEnableComplete(boolean isEnableComplete) {
            this.isEnableComplete = isEnableComplete;
        }

        public String getSendWorkName() {
            return sendWorkName;
        }

        public void setSendWorkName(String sendWorkName) {
            this.sendWorkName = sendWorkName;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public Integer getOrderPrice() {
            return orderPrice;
        }

        public void setOrderPrice(int orderPrice) {
            this.orderPrice = orderPrice;
        }

        public String getTakeAddress() {
            return takeAddress;
        }

        public void setTakeAddress(String takeAddress) {
            this.takeAddress = takeAddress;
        }

        public String getSendTimeEnd() {
            return sendTimeEnd;
        }

        public void setSendTimeEnd(String sendTimeEnd) {
            this.sendTimeEnd = sendTimeEnd;
        }

        public String getTakeDate() {
            return takeDate;
        }

        public void setTakeDate(String takeDate) {
            this.takeDate = takeDate;
        }

        public String getBusiness() {
            return business;
        }

        public void setBusiness(String business) {
            this.business = business;
        }

        public String getSendName() {
            return sendName;
        }

        public void setSendName(String sendName) {
            this.sendName = sendName;
        }

        public String getExpTime() {
            return expTime;
        }

        public void setExpTime(String expTime) {
            this.expTime = expTime;
        }

        public boolean isIsEnableSign() {
            return isEnableSign;
        }

        public void setIsEnableSign(boolean isEnableSign) {
            this.isEnableSign = isEnableSign;
        }

        public String getStoreId() {
            return storeId;
        }

        public void setStoreId(String storeId) {
            this.storeId = storeId;
        }

        public String getTransNo() {
            return CheckUtils.isEmptyString(transNo);
        }

        public void setTransNo(String transNo) {
            this.transNo = transNo;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getTakeWorkImg() {
            return takeWorkImg;
        }

        public void setTakeWorkImg(String takeWorkImg) {
            this.takeWorkImg = takeWorkImg;
        }

        public Integer getPaymentPrice() {
            return paymentPrice;
        }

        public void setPaymentPrice(Integer paymentPrice) {
            this.paymentPrice = paymentPrice;
        }

        public String getUserRemark() {
            return userRemark;
        }

        public void setUserRemark(String userRemark) {
            this.userRemark = userRemark;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getStatusText() {
            return statusText;
        }

        public void setStatusText(String statusText) {
            this.statusText = statusText;
        }

        public String getSendPhone() {
            return sendPhone;
        }

        public void setSendPhone(String sendPhone) {
            this.sendPhone = sendPhone;
        }

        public String getTakeTimeStart() {
            return takeTimeStart;
        }

        public void setTakeTimeStart(String takeTimeStart) {
            this.takeTimeStart = takeTimeStart;
        }

        public String getSendWorkImg() {
            return sendWorkImg;
        }

        public void setSendWorkImg(String sendWorkImg) {
            this.sendWorkImg = sendWorkImg;
        }

        public String getTakeWorkCode() {
            return takeWorkCode;
        }

        public void setTakeWorkCode(String takeWorkCode) {
            this.takeWorkCode = takeWorkCode;
        }

        public long getActualTakeTime() {
            return actualTakeTime;
        }

        public void setActualTakeTime(long actualTakeTime) {
            this.actualTakeTime = actualTakeTime;
        }

        public int getPayStatus() {
            return payStatus;
        }

        public void setPayStatus(int payStatus) {
            this.payStatus = payStatus;
        }

        public String getSendWorkCode() {
            return sendWorkCode;
        }

        public void setSendWorkCode(String sendWorkCode) {
            this.sendWorkCode = sendWorkCode;
        }

        public String getModeText() {
            return modeText;
        }

        public void setModeText(String modeText) {
            this.modeText = modeText;
        }

        public List<StatusListBean> getStatusList() {
            return statusList;
        }

        public void setStatusList(List<StatusListBean> statusList) {
            this.statusList = statusList;
        }

        public static class UserInfoBean implements Parcelable {
            /**
             * mercId : 1
             * cardRelId : 17
             * cardName : 红钻会员卡
             * subscribe : 0
             * isBinding : 0
             * cardLevel : 6
             * sex : 0
             * wxNickname : null
             * origin : 1
             * cardRights : 0000
             * wxId : null
             * headimgPath : null
             * cardNo : 594832573
             * point : 1000
             * verifyAndriod : 0
             * verifyPhone : 0
             * balance : 984000
             * phone : 15581652584
             * cardId : 2
             * name : null
             * id : 57
             * cardDiscount : 20
             * verifyIos : 0
             * status : 1
             */

            private int mercId;
            private int cardRelId;
            private String cardName;
            private int subscribe;
            private int isBinding;
            private int cardLevel;
            private int sex;
            private String wxNickname;
            private int origin;
            private String cardRights;
            private String wxId;
            private String headimgPath;
            private String cardNo;
            private int point;
            private int verifyAndriod;
            private int verifyPhone;
            private int balance;
            private String phone;
            private int cardId;
            private String name;
            private int id;
            private int cardDiscount;
            private int verifyIos;
            private int status;

            public int getMercId() {
                return mercId;
            }

            public void setMercId(int mercId) {
                this.mercId = mercId;
            }

            public int getCardRelId() {
                return cardRelId;
            }

            public void setCardRelId(int cardRelId) {
                this.cardRelId = cardRelId;
            }

            public String getCardName() {
                return cardName;
            }

            public void setCardName(String cardName) {
                this.cardName = cardName;
            }

            public int getSubscribe() {
                return subscribe;
            }

            public void setSubscribe(int subscribe) {
                this.subscribe = subscribe;
            }

            public int getIsBinding() {
                return isBinding;
            }

            public void setIsBinding(int isBinding) {
                this.isBinding = isBinding;
            }

            public int getCardLevel() {
                return cardLevel;
            }

            public void setCardLevel(int cardLevel) {
                this.cardLevel = cardLevel;
            }

            public int getSex() {
                return sex;
            }

            public void setSex(int sex) {
                this.sex = sex;
            }

            public String getWxNickname() {
                return wxNickname;
            }

            public void setWxNickname(String wxNickname) {
                this.wxNickname = wxNickname;
            }

            public int getOrigin() {
                return origin;
            }

            public void setOrigin(int origin) {
                this.origin = origin;
            }

            public String getCardRights() {
                return cardRights;
            }

            public void setCardRights(String cardRights) {
                this.cardRights = cardRights;
            }

            public String getWxId() {
                return wxId;
            }

            public void setWxId(String wxId) {
                this.wxId = wxId;
            }

            public String getHeadimgPath() {
                return headimgPath;
            }

            public void setHeadimgPath(String headimgPath) {
                this.headimgPath = headimgPath;
            }

            public String getCardNo() {
                return cardNo;
            }

            public void setCardNo(String cardNo) {
                this.cardNo = cardNo;
            }

            public int getPoint() {
                return point;
            }

            public void setPoint(int point) {
                this.point = point;
            }

            public int getVerifyAndriod() {
                return verifyAndriod;
            }

            public void setVerifyAndriod(int verifyAndriod) {
                this.verifyAndriod = verifyAndriod;
            }

            public int getVerifyPhone() {
                return verifyPhone;
            }

            public void setVerifyPhone(int verifyPhone) {
                this.verifyPhone = verifyPhone;
            }

            public int getBalance() {
                return balance;
            }

            public void setBalance(int balance) {
                this.balance = balance;
            }

            public String getPhone() {
                return CheckUtils.isEmptyString(phone);
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public int getCardId() {
                return cardId;
            }

            public void setCardId(int cardId) {
                this.cardId = cardId;
            }

            public String getName() {
                return CheckUtils.isEmptyString(name);
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getCardDiscount() {
                return cardDiscount;
            }

            public void setCardDiscount(int cardDiscount) {
                this.cardDiscount = cardDiscount;
            }

            public int getVerifyIos() {
                return verifyIos;
            }

            public void setVerifyIos(int verifyIos) {
                this.verifyIos = verifyIos;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }


            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeInt(this.mercId);
                dest.writeInt(this.cardRelId);
                dest.writeString(this.cardName);
                dest.writeInt(this.subscribe);
                dest.writeInt(this.isBinding);
                dest.writeInt(this.cardLevel);
                dest.writeInt(this.sex);
                dest.writeString(this.wxNickname);
                dest.writeInt(this.origin);
                dest.writeString(this.cardRights);
                dest.writeString(this.wxId);
                dest.writeString(this.headimgPath);
                dest.writeString(this.cardNo);
                dest.writeInt(this.point);
                dest.writeInt(this.verifyAndriod);
                dest.writeInt(this.verifyPhone);
                dest.writeInt(this.balance);
                dest.writeString(this.phone);
                dest.writeInt(this.cardId);
                dest.writeString(this.name);
                dest.writeInt(this.id);
                dest.writeInt(this.cardDiscount);
                dest.writeInt(this.verifyIos);
                dest.writeInt(this.status);
            }

            public UserInfoBean() {
            }

            protected UserInfoBean(Parcel in) {
                this.mercId = in.readInt();
                this.cardRelId = in.readInt();
                this.cardName = in.readString();
                this.subscribe = in.readInt();
                this.isBinding = in.readInt();
                this.cardLevel = in.readInt();
                this.sex = in.readInt();
                this.wxNickname = in.readString();
                this.origin = in.readInt();
                this.cardRights = in.readString();
                this.wxId = in.readString();
                this.headimgPath = in.readString();
                this.cardNo = in.readString();
                this.point = in.readInt();
                this.verifyAndriod = in.readInt();
                this.verifyPhone = in.readInt();
                this.balance = in.readInt();
                this.phone = in.readString();
                this.cardId = in.readInt();
                this.name = in.readString();
                this.id = in.readInt();
                this.cardDiscount = in.readInt();
                this.verifyIos = in.readInt();
                this.status = in.readInt();
            }

            public static final Creator<UserInfoBean> CREATOR = new Creator<UserInfoBean>() {
                @Override
                public UserInfoBean createFromParcel(Parcel source) {
                    return new UserInfoBean(source);
                }

                @Override
                public UserInfoBean[] newArray(int size) {
                    return new UserInfoBean[size];
                }
            };
        }

        public static class StatusListBean implements Parcelable {
            /**
             * createBy : 32
             * statusDesc : 已收件
             * statusVal : 5
             * orderId : 231
             * createTime : 1505873575000
             * statusText : 已收件
             * id : 514
             * workName : 小马子
             */

            private int createBy;
            private String statusDesc;
            private int statusVal;
            private int orderId;
            private long createTime;
            private String statusText;
            private int id;
            private String workName;

            public int getCreateBy() {
                return createBy;
            }

            public void setCreateBy(int createBy) {
                this.createBy = createBy;
            }

            public String getStatusDesc() {
                return statusDesc;
            }

            public void setStatusDesc(String statusDesc) {
                this.statusDesc = statusDesc;
            }

            public int getStatusVal() {
                return statusVal;
            }

            public void setStatusVal(int statusVal) {
                this.statusVal = statusVal;
            }

            public int getOrderId() {
                return orderId;
            }

            public void setOrderId(int orderId) {
                this.orderId = orderId;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getStatusText() {
                return statusText;
            }

            public void setStatusText(String statusText) {
                this.statusText = statusText;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getWorkName() {
                return workName;
            }

            public void setWorkName(String workName) {
                this.workName = workName;
            }


            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeInt(this.createBy);
                dest.writeString(this.statusDesc);
                dest.writeInt(this.statusVal);
                dest.writeInt(this.orderId);
                dest.writeLong(this.createTime);
                dest.writeString(this.statusText);
                dest.writeInt(this.id);
                dest.writeString(this.workName);
            }

            public StatusListBean() {
            }

            protected StatusListBean(Parcel in) {
                this.createBy = in.readInt();
                this.statusDesc = in.readString();
                this.statusVal = in.readInt();
                this.orderId = in.readInt();
                this.createTime = in.readLong();
                this.statusText = in.readString();
                this.id = in.readInt();
                this.workName = in.readString();
            }

            public static final Creator<StatusListBean> CREATOR = new Creator<StatusListBean>() {
                @Override
                public StatusListBean createFromParcel(Parcel source) {
                    return new StatusListBean(source);
                }

                @Override
                public StatusListBean[] newArray(int size) {
                    return new StatusListBean[size];
                }
            };
        }


    public OrderDetailBean() {
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeByte(this.isEnableStockIn ? (byte) 1 : (byte) 0);
        dest.writeValue(this.discount);
        dest.writeInt(this.mercId);
        dest.writeParcelable(this.userInfo, flags);
        dest.writeString(this.payLockTime);
        dest.writeInt(this.couponAmt);
        dest.writeString(this.actualSendTime);
        dest.writeByte(this.isCanceled ? (byte) 1 : (byte) 0);
        dest.writeString(this.sendDate);
        dest.writeString(this.takeTimeEnd);
        dest.writeInt(this.cityId);
        dest.writeByte(this.isEnablePay ? (byte) 1 : (byte) 0);
        dest.writeValue(this.modifyPrice);
        dest.writeInt(this.mode);
        dest.writeByte(this.isEnableCancel ? (byte) 1 : (byte) 0);
        dest.writeByte(this.isEnablePrint ? (byte) 1 : (byte) 0);
        dest.writeByte(this.isEnableUpdateTransNo ? (byte) 1 : (byte) 0);
        dest.writeInt(this.id);
        dest.writeInt(this.sendMode);
        dest.writeInt(this.refundPrice);
        dest.writeString(this.takeWorkId);
        dest.writeString(this.takeWorkName);
        dest.writeByte(this.isEnableDestroy ? (byte) 1 : (byte) 0);
        dest.writeString(this.orderNo);
        dest.writeTypedList(this.mClothlist);
        dest.writeString(this.sendModeText);
        dest.writeByte(this.isEnableRefund ? (byte) 1 : (byte) 0);
        dest.writeString(this.takePhone);
        dest.writeString(this.payablePrice);
        dest.writeInt(this.priority);
        dest.writeInt(this.paidPrice);
        dest.writeString(this.sendAddress);
        dest.writeString(this.sendTimeStart);
        dest.writeInt(this.isModifyPrice);
        dest.writeString(this.sendWorkPhone);
        dest.writeString(this.takeName);
        dest.writeInt(this.takeCarriage);
        dest.writeInt(this.sendCarriage);
        dest.writeString(this.sendWorkId);
        dest.writeString(this.originText);
        dest.writeInt(this.takeMode);
        dest.writeString(this.remark);
        dest.writeString(this.takeWorkPhone);
        dest.writeString(this.payStatusText);
        dest.writeString(this.proPriceDesc);
        dest.writeInt(this.statusVal);
        dest.writeString(this.takeModeText);
        dest.writeByte(this.isEnableComplete ? (byte) 1 : (byte) 0);
        dest.writeString(this.sendWorkName);
        dest.writeString(this.storeName);
        dest.writeValue(this.orderPrice);
        dest.writeString(this.takeAddress);
        dest.writeString(this.sendTimeEnd);
        dest.writeString(this.takeDate);
        dest.writeString(this.business);
        dest.writeString(this.sendName);
        dest.writeString(this.expTime);
        dest.writeByte(this.isEnableSign ? (byte) 1 : (byte) 0);
        dest.writeString(this.storeId);
        dest.writeString(this.transNo);
        dest.writeString(this.userId);
        dest.writeString(this.takeWorkImg);
        dest.writeValue(this.paymentPrice);
        dest.writeString(this.userRemark);
        dest.writeLong(this.createTime);
        dest.writeString(this.statusText);
        dest.writeString(this.sendPhone);
        dest.writeString(this.takeTimeStart);
        dest.writeString(this.sendWorkImg);
        dest.writeInt(this.createCnt);
        dest.writeString(this.takeWorkCode);
        dest.writeLong(this.actualTakeTime);
        dest.writeInt(this.payStatus);
        dest.writeString(this.sendWorkCode);
        dest.writeString(this.modeText);
        dest.writeTypedList(this.statusList);
        dest.writeInt(this.valuationType);
        dest.writeInt(this.isFeeCarriage);
        dest.writeValue(this.valuationPrice);
    }

    protected OrderDetailBean(Parcel in) {
        this.isEnableStockIn = in.readByte() != 0;
        this.discount = (Integer) in.readValue(Integer.class.getClassLoader());
        this.mercId = in.readInt();
        this.userInfo = in.readParcelable(UserInfoBean.class.getClassLoader());
        this.payLockTime = in.readString();
        this.couponAmt = in.readInt();
        this.actualSendTime = in.readString();
        this.isCanceled = in.readByte() != 0;
        this.sendDate = in.readString();
        this.takeTimeEnd = in.readString();
        this.cityId = in.readInt();
        this.isEnablePay = in.readByte() != 0;
        this.modifyPrice = (Integer) in.readValue(Integer.class.getClassLoader());
        this.mode = in.readInt();
        this.isEnableCancel = in.readByte() != 0;
        this.isEnablePrint = in.readByte() != 0;
        this.isEnableUpdateTransNo = in.readByte() != 0;
        this.id = in.readInt();
        this.sendMode = in.readInt();
        this.refundPrice = in.readInt();
        this.takeWorkId = in.readString();
        this.takeWorkName = in.readString();
        this.isEnableDestroy = in.readByte() != 0;
        this.orderNo = in.readString();
        this.mClothlist = in.createTypedArrayList(StringBean.CREATOR);
        this.sendModeText = in.readString();
        this.isEnableRefund = in.readByte() != 0;
        this.takePhone = in.readString();
        this.payablePrice = in.readString();
        this.priority = in.readInt();
        this.paidPrice = in.readInt();
        this.sendAddress = in.readString();
        this.sendTimeStart = in.readString();
        this.isModifyPrice = in.readInt();
        this.sendWorkPhone = in.readString();
        this.takeName = in.readString();
        this.takeCarriage = in.readInt();
        this.sendCarriage = in.readInt();
        this.sendWorkId = in.readString();
        this.originText = in.readString();
        this.takeMode = in.readInt();
        this.remark = in.readString();
        this.takeWorkPhone = in.readString();
        this.payStatusText = in.readString();
        this.proPriceDesc = in.readString();
        this.statusVal = in.readInt();
        this.takeModeText = in.readString();
        this.isEnableComplete = in.readByte() != 0;
        this.sendWorkName = in.readString();
        this.storeName = in.readString();
        this.orderPrice = (Integer) in.readValue(Integer.class.getClassLoader());
        this.takeAddress = in.readString();
        this.sendTimeEnd = in.readString();
        this.takeDate = in.readString();
        this.business = in.readString();
        this.sendName = in.readString();
        this.expTime = in.readString();
        this.isEnableSign = in.readByte() != 0;
        this.storeId = in.readString();
        this.transNo = in.readString();
        this.userId = in.readString();
        this.takeWorkImg = in.readString();
        this.paymentPrice = (Integer) in.readValue(Integer.class.getClassLoader());
        this.userRemark = in.readString();
        this.createTime = in.readLong();
        this.statusText = in.readString();
        this.sendPhone = in.readString();
        this.takeTimeStart = in.readString();
        this.sendWorkImg = in.readString();
        this.createCnt = in.readInt();
        this.takeWorkCode = in.readString();
        this.actualTakeTime = in.readLong();
        this.payStatus = in.readInt();
        this.sendWorkCode = in.readString();
        this.modeText = in.readString();
        this.statusList = in.createTypedArrayList(StatusListBean.CREATOR);
        this.valuationType = in.readInt();
        this.isFeeCarriage = in.readInt();
        this.valuationPrice = (Integer) in.readValue(Integer.class.getClassLoader());
    }

    public static final Creator<OrderDetailBean> CREATOR = new Creator<OrderDetailBean>() {
        @Override
        public OrderDetailBean createFromParcel(Parcel source) {
            return new OrderDetailBean(source);
        }

        @Override
        public OrderDetailBean[] newArray(int size) {
            return new OrderDetailBean[size];
        }
    };
}
